const getters = {
    userbase: state => {
        if (!state.login.userbase) return null;
        return {
            name: state.login.userbase.name,
            number: state.login.userbase.number,
            passwd: state.login.userbase.passwd
        }
    },
    summarySource: state => {
        if (!state.summary.rectifySource) return null;
        return state.summary.rectifySource
    }
}
export default getters